using System;
using TaxiService.Domain;

namespace TaxiService.Commands
{
  public class OrderTaxiCommand : Command
  {
    public Phone Phone { get; private set;}
    public Location SourceLocation { get; private set;}

    public OrderTaxiCommand(Guid id, Phone phone, Location sourceLocation)
      : base(id)
    {
      Phone = phone;
      SourceLocation = sourceLocation;
    }
  }
}